package cn.hsa.fqz.task.service.dto;

import cn.hsa.fqz.common.utils.page.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description TODO
 * @ClassName TaskFeedbackQueryDTO
 * @Author Liu.Jun
 * @Create 2023-10-11 15:18
 * @Version 1.0.0
 */
@Data
@ApiModel("线索反馈查询参数")
public class TaskFeedbackQueryDTO {
    @ApiModelProperty("分页参数")
    private BasePage page;
    @ApiModelProperty("线索反馈查询条件")
    private Condition condition;

    @Data
    public static class Condition {

        @ApiModelProperty("任务编码")
        private String taskCode;

        @ApiModelProperty("时间段([开始时间，结束时间])")
        private String[] times;

        @ApiModelProperty("医疗机构代码")
        private String medcCode;

        @ApiModelProperty("医疗机构名称")
        private String medcName;

        @ApiModelProperty("处理结果")
        private Integer checkResult;

        @ApiModelProperty("处理阶段")
        private Integer checkNode;

        @ApiModelProperty("风险等级")
        private Integer fxdj;

        @ApiModelProperty("省级编码")
        private String proviceCode;

        @ApiModelProperty("城市编码")
        private String cityCode;
    }

/*    public static void main(String[] args) {
        TaskFeedbackQueryDTO dto = new TaskFeedbackQueryDTO();
        BasePage page = new BasePage();
        page.setPageSize(10);
        page.setPageNum(1);
        dto.setPage(page);
        TaskFeedbackQueryDTO.Condition condition = new Condition();
        condition.medcName = "医院";
        condition.checkResult = 1;
        dto.setCondition(condition);
        System.out.println(JSON.toJSONString(dto));
    }*/
}
